#ifndef _VFS_C_INTERFACE_H_
#define _VFS_C_INTERFACE_H_

extern "C" {

typedef void  VFILE;

VFILE* CPhysFS_wfopen(const wchar_t* filename ,const wchar_t* mode);

VFILE* CPhysFS_fopen(const char* filename ,const char* mode);

size_t CPhysFS_fread(void* buffer, size_t size, size_t count, VFILE* file);

size_t CPhysFS_fwrite(const void* buffer, size_t size, size_t count, VFILE* file);

int CPhysFS_fseek(VFILE* file, long offset, int origin);

long int CPhysFS_ftell(VFILE* file);

int CPhysFS_fflush(VFILE* file);

int CPhysFS_fclose(VFILE* file);

int CPhysFS_feof(VFILE* file);

}

#endif